import instance from '@/util/request'
export const login = function (user = {}) {
  return instance.post('/login', user, {
    isPublic: true,
  })
}

export const selectUserMenu = function () {
  return instance.get('/menus')
}

export const selectTeacherOptions = function (params = {}) {
  return instance.get('/auth/teacher', {
    params,
  })
}
